<?php
class Pagemanager_Data_Updatepagemetavalues implements Pagemanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "UPDATE page_meta_values SET page_meta_values.page_meta_title='".$variables['post']['page_meta_title']."', page_meta_values.page_meta_keywords='".$variables['post']['page_meta_keywords']."', page_meta_values.page_meta_description='".$variables['post']['page_meta_description']."' WHERE page_meta_values.page_name='".$variables['post']['page_name']."';";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);        
    }

}
